<div id="attention" class="mainDialog">
    <div id="dialogHeader"><a href="#">close X</a></div>
    <div id="dialogText">
        <span id="dialogAttention">ATTENTION</span>
        Content featured on this site may be seen as slightly offensive and unsuitable for younger or more sensitive
        viewers. By you selecting ENTER, you fully agree to the <a href="#" class="termsOfUse">terms of service</a> and confirm you are over 18 years
        old and can view inappropriate content.

        <div class="dialogButtons">
            <div class="signsButtons">
                <a href="#" class="enter">
                    <span class="blueMessege">ENTER</span>
                </a>
            </div>
            <div class="signsButtons">
                <a href="#" class="goBack">
                    <span class="blueMessege">GO BACK</span>
                </a>
            </div>
        </div>
    </div>
</div>
<div id="idea" class="mainDialog dialogWindow">
    <div id="dialogHeader"><a href="#" class="alternativeClose">close X</a></div>
    <div id="dialogText">
        <div class="ideaForm">
            <form id="ideaFormDialog" method="post">
                <span class="newLine bold">HAVE A GREAT SIGN IDEA?</span>
                <span class="newLine">Enter it below and we may feature it!</span>
                <?=$formNew;?>
                <span class="newLine">Clicking SEND, you agree to the</span>
                <span class="newLine"><a href="#" class="termsOfUse">terms of service and submission rules.</a></span>
                <span class="blueMessege sendFormDialog">SEND</span>
        </div>
    </div>
</div>
<div id="codes" class="mainDialog dialogWindow">
    <div id="dialogHeader"><a href="#" class="alternativeClose">close X</a></div>
    <div id="dialogText" class="codesWindow">
        <div class="codesBlock">
                <span class="newLine bold">DISCOUNT CODES</span>
                <span class="newLine">Use this active codes when ordering.</span>
                <span class="newLine">Please review the <a href="#" class="termsOfUse">terms of service</a> section</span>
                <?if (count($codes)>0):?>
                    <?foreach ($codes as $v):?>
                        <div class="coupon">
                            <span class="newLine"><b>Code:</b> <?=$v['note1'];?></span>
                            <span class="newLine"><?=$v['name'];?></span>
                        </div>
                    <?endforeach;?>
                <?endif;?>
        </div>
    </div>
</div>
<div id="termsOfUse" class="dialogWindow">
    <div class="blocHead">
        <span class="blueMessege"><?=$terms['name'];?><a href="#" class="closeDialog">close X</a></span>
    </div>
    <div class="newScroll">
        <?=$terms['text1'];?>
    </div>
</div>
<div id="downloads" class="dialogWindow">
    <div class="blocHead">
        <span class="blueMessege">Instructional PDF Files<a href="#" class="closeDialog">close X</a></span>
    </div>
    <div class="downloadsMain">
        <?if (count($download) >0 ):?>
            <?foreach ($download as $k=>$v) : ?>
                <div class="downloadBlock">
                    <a href="<?=(isset($downloadAttachments[$k][0]['path'])) ? $downloadAttachments[$k][0]['path']: '';?>">
                        <img class="pdflink" src="/images/main/pdflink.png" alt="Pdf href" />
                        <span class="pdfName"><?=$v['name'];?></span>
                        <img class="downloadpdf" src="/images/main/downloadpdf.png" alt="Pdf href" />
                    </a>
                </div>
            <?endforeach;?>
        <?endif;?>
    </div>
</div>
<div id="shippingDialog" class="dialogWindow">
    <div class="blocHead">
        <span class="blueMessege">Shopping Cart<a href="#" class="closeDialog">close X</a></span>
    </div>
    <div class="shippingMain">
        <div id="orderRewie">
            <table>
                <thead>
                    <tr>
                        <td class="itemName">Item</td>
                        <td class="checkBoxes">Quantity</td>
                        <td class="checkBoxes">Remove</td>
                        <td class="amountBoxes">Amount</td>
                    </tr>
                </thead>
                <tbody>
                    <? $subTotal = 0;
                    foreach($items as $key=>$value):

                        $subTotal+=$value['price']?>
                      <tr>
                                <td class="itemName" ><?=$value['name'];?></td>
                                <td class="checkBoxes">
                                    <input type="text" value="1" class="quantyty" dataSection="<?=$value['section']?>" data="<?=$value['id']?>" />
                                </td>
                                <td class="checkBoxes">
                                    <input type="checkbox" value="1" class="quantyty"  />
                                </td>
                                <td class="amountBoxes">
                                    <?='$'.$value['price'];?>
                                </td>
                        </tr>
                    <?endforeach;?>
                    <tr class="gray">
                        <td colspan=3 align=right class="subtotalTd">Subtotal:</td>
                        <td class="amountBoxes"><?='$'.$subTotal;?></td>
                    </tr>
                    <tr class="gray">
                        <td colspan=3 align=right class="subtotalTd"><?=$delivery['delivery'];?>:</td>
                        <td class="amountBoxes"><?='$'.$delivery['deliveryCost'];?></td>
                    </tr>
                    <?if (!1):
                        $subTotal -= $coupons['price'];?>
                        <tr class="gray">
                            <td colspan=3 align=right class="subtotalTd"><?=$coupons['name'];?>:</td>
                            <td class="amountBoxes"><?='-$'.$coupons['price'];?></td>
                        </tr>
                    <?endif;?>
                    <tr class="gray">
                        <td colspan=3 align=right class="subtotalTd">Total:</td>
                        <td class="amountBoxes">$ <?=$delivery['deliveryCost']+$subTotal;?></td>
                    </tr>
                </tbody>
            </table>
        </div>
        <div class="dialogButtons">
            <div class="signsButtons">
                <a href="#" class="continue">
                    <span class="blueMessege">CONTINUE SHOPPING</span>
                </a>
            </div>
            <div class="signsButtons">
                <a href="/signs/billing/" class="">
                    <span class="blueMessege">CHECKOUT</span>
                </a>
            </div>
        </div>
    </div>
</div>
<div id="discount" class="mainDialog dialogWindow">
    <div id="dialogHeader"><a href="#" class="alternativeClose">close X</a></div>
    <div id="dialogText">
        <span class="newLine"><strong>DISCOUNT CODES</strong></span>
        Use these active codes when ordering. 
        Please review the <a href="#" class="termsOfUse">terms of service</a> section. 
    </div>
</div>
<div id="mask" style="display: none;">&nbsp;</div>
